import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'dart:ui';
import 'package:dio/dio.dart';

// 自定义模块
import '../module/my_appbar.dart';
import '../module/custome_router.dart';

class UserStatisti extends StatefulWidget {
  _UserStatistiState createState() => _UserStatistiState();
}

class _UserStatistiState extends State<UserStatisti> {
  String _title = '统  计';
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Column(
        children: <Widget>[
        MyAppBar(
          title: _title,
          textColor: Colors.white,
          leftICon: IconButton(
            tooltip: '打开客服界面',
            icon: Icon(
              IconData(0xe7f4, fontFamily: 'iconfont'),
              size: ScreenUtil().setWidth(32),
            ),
            color: Colors.white,
            onPressed: () {
              Scaffold.of(context).openDrawer();
            }
          ),
          rightICon: IconButton(
            tooltip: '问题反馈',
            icon: Icon(
              IconData(0xe645, fontFamily: 'iconfont'),
              size: ScreenUtil().setWidth(34),
            ),
            color: Colors.white,
            onPressed: () {
              print('问题反馈');
            }
          ),
        ),
        ],
      ),
    );
  }
}